package com.oracle.pojo.vo;

import java.io.Serializable;
import java.math.BigDecimal;

public class BookVo implements Serializable {

    private String name;

    private Integer cid;

    private BigDecimal minPrice;

    private BigDecimal maxPrice;

    private String author;

    public BookVo(){
    }

    public BookVo(String name, Integer cid, BigDecimal minPrice, BigDecimal maxPrice, String author) {
        this.name = name;
        this.cid = cid;
        this.minPrice = minPrice;
        this.maxPrice = maxPrice;
        this.author = author;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public BigDecimal getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(BigDecimal minPrice) {
        this.minPrice = minPrice;
    }

    public BigDecimal getMaxPrice() {
        return maxPrice;
    }

    public void setMaxPrice(BigDecimal maxPrice) {
        this.maxPrice = maxPrice;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    @Override
    public String toString() {
        return "BookVo{" +
                "name='" + name + '\'' +
                ", cid=" + cid +
                ", minPrice=" + minPrice +
                ", maxPrice=" + maxPrice +
                ", author='" + author + '\'' +
                '}';
    }
}
